// ControlHandle.cpp : implementation of the CApplication class
//
#include "stdafx.h"
#include "ControlHandle.h"

CControlHandle::CControlHandle()
{
	// TODO: add member initialization code here
	
}
CControlHandle::~CControlHandle()
{

}

bool CControlHandle::GetDetect() const
{
	return m_detect;
}
void CControlHandle::SetDetect(bool nDetect)
{
	m_detect=nDetect;
}
GString CControlHandle::GetValue() const
{
	return m_value;
}
void CControlHandle::SetValue(GString nValue)
{
	m_value=nValue;
}
void CControlHandle::MapXMLTagsToMembers()
{
	MapAttribute(&m_detect,"detect");
	MapAttribute(&m_value,"value");
}
IMPLEMENT_FACTORY(CControlHandle, ControlHandle);